# states
STATE_PLAY = 0
STATE_GAMEOVER = 1
STATE_PLAYERWINS = 2
STATE_GAMEPAUSED = 3

# keys
KEY_RIGHT = 275
KEY_LEFT = 276
KEY_UP = 273
KEY_SPACE = 32

# gameplay
TIME_TO_SET = 200
MAX_FPS = 25
INITIAL_FALLING_TIME = 15000
GAMEOVER_TRESHOLD_Y = 40

# colors and screen
COLORS = [ 0, 0xaaaa00, 0xffffff, 0x0000ff, 0x00ff00, 0xff0000, 0xff00ff, 0x00ffff, 0xffff00 ]
COLOR_WHITE = (255, 255, 255)
COLOR_GRAY = 0x444444
COLOR_BLACK = 0x000000
#NEXT_BLOCK_POSITION_Y = 

SCREEN_WIDTH = 220
SCREEN_HEIGHT = 300
STEP_XY = 10
FIELD_X = 10
FIELD_WIDTH = 120

FIELD_HEIGHT = 300